package com.cy.device.rpc;

import com.cy.swpc.common.domain.model.ResultBean;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

@Component
@FeignClient(value = "service-video-ffmpeg")
public interface VideoFfmpegFeignClient {

	@RequestMapping(value = "/rtsp/getPic", method = RequestMethod.GET)
	ResultBean<String> getSnapPic(@RequestParam(value = "videoId", required = true) String videoId);
}